// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:19


// Source File Name:   r3.java

package com.zelix;

import java.awt.Component;
import java.awt.Container;
import java.awt.event.*;
import java.util.EventObject;
import javax.swing.*;


//            q3, eo, to, yw, 
//            m4, j0, tb

class r3 extends q3
    implements eo, ActionListener, KeyListener
{

    JButton o;
    private static String p[];
    private static String z[];

    r3(JFrame jframe, String s, String s1, String s2, String s3, yw yw1)
    {
        super(jframe, s, s1, s2, s3, yw1);
    }

    public void actionPerformed(ActionEvent actionevent)
    {
label0:
        {
            boolean flag = tb.b;
            Object obj = actionevent.getSource();
            if(!(obj instanceof JButton))
                break label0;
            JButton jbutton = (JButton)obj;
            if(jbutton == o)
            {
                k();
                if(!flag)
                    break label0;
            }
            if(jbutton == super.i)
            {
                j();
                if(!flag)
                    break label0;
            }
            if(jbutton == super.j)
            {
                f();
                if(!flag)
                    break label0;
            }
            if(jbutton == super.k)
                i();
        }
    }

    public void keyPressed(KeyEvent keyevent)
    {
label0:
        {
            boolean flag = tb.b;
            if(keyevent.getKeyCode() != 10)
                break label0;
            if(keyevent.getSource() == super.i || keyevent.getSource() == super.h)
            {
                j();
                if(!flag)
                    break label0;
            }
            if(keyevent.getSource() == o)
            {
                k();
                if(!flag)
                    break label0;
            }
            if(keyevent.getSource() == super.j)
            {
                f();
                if(!flag)
                    break label0;
            }
            if(keyevent.getSource() == super.k)
                i();
        }
    }

    public void keyReleased(KeyEvent keyevent)
    {
    }

    public void keyTyped(KeyEvent keyevent)
    {
    }

    void j()
    {
        java.io.File file = super.h.e();
        if(a(file, z[7]))
        {
            super.l = true;
            a();
            super.g.a(file, new Integer(1));
        }
    }

    void k()
    {
        java.io.File file = super.h.e();
        super.l = true;
        a();
        super.g.a(file, new Integer(2));
    }

    protected void a(String s, String s1, j0 j0_1, Container container)
    {
        o = new JButton(z[1]);
        o.setToolTipText(to.b(to.V));
        container.add(o, z[5]);
        super.i = new JButton(s);
        super.i.setToolTipText(s1);
        container.add(super.i, z[4]);
        super.i.setEnabled(false);
        super.j = new JButton(z[3]);
        super.j.setToolTipText(to.b(to.Z));
        container.add(super.j, z[0]);
        super.k = new JButton(z[6]);
        super.k.setToolTipText(to.b(to.ab));
        container.add(super.k, z[2]);
        o.addActionListener(this);
        super.i.addActionListener(this);
        super.j.addActionListener(this);
        super.k.addActionListener(this);
        o.addKeyListener(this);
        super.i.addKeyListener(this);
        super.j.addKeyListener(this);
        super.k.addKeyListener(this);
        j0_1.a(p);
    }

    private static char[] z(String str) {
        char ac[] = str.toCharArray();
        int clen = ac.length;
        if (clen >= 2)
            return ac;
        ac[0] ^= 0x36;
        return ac;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x75;
                    break;
                case 1:
                    key = 47;
                    break;
                case 2:
                    key = 110;
                    break;
                case 3:
                    key = 105;
                    break;
                default:
                    key = 54;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }
    static
    {
        String as[] = new String[8];
        as[0] = z(z("\026N\000\nS\031m\032\007"));
        as[1] = z(z("%]\013\037_\032Z\035"));
        as[2] = z(z("\035J\002\031t\001A"));
        as[3] = z(z("6N\000\nS\031"));
        as[4] = z(z("\032D,\035X"));
        as[5] = z(z("\005]\013\037_\032Z\035+B\033"));
        as[6] = z(z("=J\002\031"));
        as[7] = z(z("!G\013IE\026]\007\031BUX\007\005ZU\\\017\037SU\\\001\004SUI\007\005S\006\017\032\006\026\001G\013IE\024B\013IP\032C\n\fDUI\034\006[UX\006\000U\035\017\032\001S\f\017\031\fD\020\017\001\031S\033J\nG\0266@\000\035_\033Z\013V"));
        z = as;
        String as1[] = new String[20];
        as1[0] = z(z("\031N\027\006C\001\001\003\000X\"F\n\035^HM\032\007a\034K\032\001\034A\004\\\\"));
        as1[1] = z(z("\031N\027\006C\001\001\003\000X=J\007\016^\001\022]Y\006"));
        as1[2] = z(z("\023F\002\fe\020C\013\nB\032]@\005S\023[S\\"));
        as1[3] = z(z("\023F\002\fe\020C\013\nB\032]@\035Y\005\022^"));
        as1[4] = z(z("\023F\002\fe\020C\013\nB\032]@\013Y\001[\001\004\013\026@\000\035W\034A\013\033\030\027@\032\035Y\030\002\f\035X=J\007\016^\001\002_\\"));
        as1[5] = z(z("\023F\002\fe\020C\013\nB\032]@\033_\022G\032TU\032A\032\b_\033J\034GD\034H\006\035\033@"));
        as1[6] = z(z("\027[\000>_\021[\006T[\024WF\006]7[\000GR\020I\017\034Z\001x\007\rB\035\003N\nW\033L\013\005t\001A@\rS\023N\033\005B\"F\n\035^Y\017\036\033S\003F\001\034E7[\000GR\020I\017\034Z\001x\007\rB\035\003N\001S\031_,\035X[K\013\017W\000C\032>_\021[\006@"));
        as1[7] = z(z("\027[\000!S\034H\006\035\013\030N\026AY\036m\032\007\030\021J\b\bC\031[&\f_\022G\032E\026\026N\000\nS\031m\032\007\030\021J\b\bC\031[&\f_\022G\032E\026\005]\013\037_\032Z\035+B\033\001\n\fP\024Z\002\035~\020F\t\001BY\017\006\fZ\005m\032\007\030\021J\b\bC\031[&\f_\022G\032@"));
        as1[8] = z(z("\005]\013\037_\032Z\035+B\033\001\r\fX\001J\0341\013\026@\000\035W\034A\013\033\030\002F\n\035^_\036\\F\007E\037"));
        as1[9] = z(z("\005]\013\037_\032Z\035+B\033\001\f\006B\001@\003TU\032A\032\b_\033J\034GT\032[\032\006[X\032"));
        as1[10] = z(z("\005]\013\037_\032Z\035+B\033\001\031\000R\001GS\013B\033x\007\rB\035"));
        as1[11] = z(z("\032D,\035X[L\013\007B\020]6TU\032A\032\b_\033J\034GA\034K\032\001\034F\030AX\006E"));
        as1[12] = z(z("\032D,\035X[M\001\035B\032BS\nY\033[\017\000X\020]@\013Y\001[\001\004\033@"));
        as1[13] = z(z("\032D,\035X[X\007\rB\035\022\f\035X\"F\n\035^"));
        as1[14] = z(z("\026N\000\nS\031m\032\007\030\026J\000\035S\007wS\nY\033[\017\000X\020]@\036_\021[\006C\000G\000_Y\006"));
        as1[15] = z(z("\026N\000\nS\031m\032\007\030\027@\032\035Y\030\022\r\006X\001N\007\007S\007\001\f\006B\001@\003D\003"));
        as1[16] = z(z("\026N\000\nS\031m\032\007\030\002F\n\035^HM\032\007a\034K\032\001"));
        as1[17] = z(z("\035J\002\031t\001A@\nS\033[\013\033nHL\001\007B\024F\000\fD[X\007\rB\035\005V^\031D\037^"));
        as1[18] = z(z("\035J\002\031t\001A@\013Y\001[\001\004\013\026@\000\035W\034A\013\033\030\027@\032\035Y\030\002["));
        as1[19] = z(z("\035J\002\031t\001A@\036_\021[\006TT\001A9\000R\001G"));
        p = as1;
    }
}